package com.framework.workflow.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.framework.common.model.BaseModelMybatisWithId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 * @description: 模块总表
 * @author: zhoujian
 * @version: 1.0
 * @date: 2022-02-09 10.13
 */


@Data
public class WfModule extends BaseModelMybatisWithId {
    @ApiModelProperty("模块名称")
    private String name;

    @ApiModelProperty("流程定义标识")
    private String procDefKey;

    @ApiModelProperty("模块描述")
    private String remark;

    @ApiModelProperty("模块状态")
    private String status;

    @ApiModelProperty("模型id")
    private String moduleId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
}
